﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Insifo.BL.Gen;
using Insifo.BE.Gen;
using Insifo.BE;

// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAplicacion" in both code and config file together.
[ServiceContract]
[ServiceKnownType(typeof(BEPersona))]
[ServiceKnownType(typeof(BEEntidadParam))]
[ServiceKnownType(typeof(BEEntidad))]

public interface IWCPersona
{
    [OperationContract]
    DataSet Listar(BEPersona pbe);

    [OperationContract]
    DataSet ListarTabla(BEPersona pbe);

    [OperationContract]
    DataSet ListarPorTipo(BEPersona pbe);

    [OperationContract]
    BEPersona Obtener(BEPersona pbe);
    
    [OperationContract]
    BEPersona Obtener_Mant(BEPersona pbe);
    
    [OperationContract]
    BEPersona Insertar(BEPersona pbe);

    [OperationContract]
    BEPersona Actualizar(BEPersona pbe);

    [OperationContract]
    BEPersona Eliminar(BEPersona pbe);

}
